/*
 * Created on Jan 12, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.vectrics.recruiter.job;

import java.util.Date;

import org.vectrics.common.db.RecordObject;
import org.vectrics.common.db.Voidable;
import org.vectrics.common.util.DateSync;
import org.vectrics.company.CompanyPersonRole;

/**
 * @author mmoore
 */
public class JobCandidateCompanyPersonRole implements Voidable, RecordObject {
	private Long id = null;
	private JobCandidate jobCandidate = null;
	private CompanyPersonRole companyPersonRole = null;
	private Date dateCreated = DateSync.getCurrentTime();
	private Date dateLastUpdated = DateSync.getCurrentTime();
	private boolean voided = false;
	
	/**
	 * 
	 */
	public JobCandidateCompanyPersonRole() {
		super();
	}

	/**
	 * @return Returns the companyPersonRole.
	 */
	public CompanyPersonRole getCompanyPersonRole() {
		return companyPersonRole;
	}
	/**
	 * @param companyPersonRole The companyPersonRole to set.
	 */
	public void setCompanyPersonRole(CompanyPersonRole companyPersonRole) {
		this.companyPersonRole = companyPersonRole;
	}
	/**
	 * @return Returns the dateCreated.
	 */
	public Date getDateCreated() {
		return dateCreated;
	}
	/**
	 * @param dateCreated The dateCreated to set.
	 */
	public void setDateCreated(Date dateCreated) {
		this.dateCreated = dateCreated;
	}
	/**
	 * @return Returns the dateLastUpdate.
	 */
	public Date getDateLastUpdated() {
		return dateLastUpdated;
	}
	/**
	 * @param dateLastUpdate The dateLastUpdate to set.
	 */
	public void setDateLastUpdated(Date dateLastUpdate) {
		this.dateLastUpdated = dateLastUpdate;
	}
	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}


	/**
	 * @return Returns the jobCandidate.
	 */
	public JobCandidate getJobCandidate() {
		return jobCandidate;
	}
	/**
	 * @param jobCandidate The jobCandidate to set.
	 */
	public void setJobCandidate(JobCandidate jobCandidate) {
		this.jobCandidate = jobCandidate;
	}
	/**
	 * @return Returns the voided.
	 */
	public boolean getVoided() {
		return voided;
	}
	/**
	 * @param voided The voided to set.
	 */
	public void setVoided(boolean voided) {
		this.voided = voided;
	}
}
